package com.anlu.base.function.mode.po;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author zhaoxk
 * @since 2025-04-03
 */

@Data
public class FormContentPO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;


    /**
     * 表单id
     */
    private Long formId;


    /**
     * 责任人id
     */
    private Long uid;


    /**
     * 1结构2数据
     */
    private Integer type;


    /**
     * 组件key
     */
    private String componentKey;


    /**
     * 组件数据
     */
    private String componentValue;


    /**
     * 组件类型
     */
    private String componentType;


    /**
     * 组件标题
     */
    private String componentTitle;


    /**
     * 创建用户id
     */
    private Long cuid;


    /**
     * 修改用户id
     */
    private Long muid;


    /**
     * 创建时间
     */
    private Date ctime;


    /**
     * 更新时间
     */
    private Date mtime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getFormId() {
        return formId;
    }

    public void setFormId(Long formId) {
        this.formId = formId;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getComponentKey() {
        return componentKey;
    }

    public void setComponentKey(String componentKey) {
        this.componentKey = componentKey;
    }

    public String getComponentValue() {
        return componentValue;
    }

    public void setComponentValue(String componentValue) {
        this.componentValue = componentValue;
    }

    public String getComponentType() {
        return componentType;
    }

    public void setComponentType(String componentType) {
        this.componentType = componentType;
    }

    public String getComponentTitle() {
        return componentTitle;
    }

    public void setComponentTitle(String componentTitle) {
        this.componentTitle = componentTitle;
    }

    public Long getCuid() {
        return cuid;
    }

    public void setCuid(Long cuid) {
        this.cuid = cuid;
    }

    public Long getMuid() {
        return muid;
    }

    public void setMuid(Long muid) {
        this.muid = muid;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    public Date getMtime() {
        return mtime;
    }

    public void setMtime(Date mtime) {
        this.mtime = mtime;
    }

    public static class Fields {
        public static final String TBL_ID = "id";
        public static final String TBL_FORM_ID = "form_id";
        public static final String TBL_UID = "uid";
        public static final String TBL_TYPE = "type";
        public static final String TBL_COMPONENT_KEY = "component_key";
        public static final String TBL_COMPONENT_VALUE = "component_value";
        public static final String TBL_COMPONENT_TYPE = "component_type";
        public static final String TBL_COMPONENT_TITLE = "component_title";
        public static final String TBL_CUID = "cuid";
        public static final String TBL_MUID = "muid";
        public static final String TBL_CTIME = "ctime";
        public static final String TBL_MTIME = "mtime";
    }

}
